cmake_minimum_required(VERSION 3.0.0)
project(TestTLS13 VERSION 0.1.0 LANGUAGES C CXX)

set(CMAKE_CXX_FLAGS "-std=c++20")

include_directories("/usr/include/botan-3")
include_directories("/usr/include/boost")
include_directories("Common/inc")
link_directories("/usr/lib")

add_executable(TestTLS13C Client/main.cpp)
target_sources(TestTLS13C PUBLIC Common/src/tls.cpp)
add_executable(TestTLS13S Server/main.cpp)
target_sources(TestTLS13S PUBLIC Common/src/tls.cpp)

target_link_libraries(TestTLS13C libbotan-3.so)
target_link_libraries(TestTLS13S libbotan-3.so)